package com.yidu.boss.sys.dao;

import com.yidu.boss.sys.domain.Custodian;
import com.yidu.boss.sys.domain.CustodianExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustodianMapper {
    long countByExample(CustodianExample example);

    int deleteByExample(CustodianExample example);

    int deleteByPrimaryKey(String custodianid);

    int insert(Custodian record);

    int insertSelective(Custodian record);

    List<Custodian> selectByExample(CustodianExample example);

    Custodian selectByPrimaryKey(String custodianid);

    int updateByExampleSelective(@Param("record") Custodian record, @Param("example") CustodianExample example);

    int updateByExample(@Param("record") Custodian record, @Param("example") CustodianExample example);

    int updateByPrimaryKeySelective(Custodian record);

    int updateByPrimaryKey(Custodian record);
    //模糊查询所有
    List<Custodian> selectSomeByMore(String condition);

    //查询所有给基金表使用
    List<Custodian> selectAll();

}